﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CQIE.TES.Model;
using CQIE.TES.WEB.USER.Models;

namespace CQIE.TES.IDAL
{
    public interface IQuestionDAL
    {
        /// <summary>
        ///  根据类型获取问卷
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        Question GetQuestion(ENUM_EVA_TYPE type);

        /// <summary>
        /// 改变比重
        /// </summary>
        /// <param name="mode"></param>
        /// <param name="questionlist"></param>
        /// <param name="heightList"></param>
        /// <returns></returns>
        bool ChangeHeight(int mode, List<int> questionList, List<int> heightList);
    }
}
